{% extends "lbforum/base.html" %}

{% load i18n %}
{% load lbforum %}

{% block title %}{{  block.super }}{% endblock %}

{% block content %}
	<div id="actionbox">
	</div>  

	<div id="brd-wrap" class="brd">
		<div id="brd-viewforum" class="brd-page paged-page">
			{% include 'lbforum/inc_header.html' %}
			{% include 'lbforum/inc_announce.html' %}

			<div class="hr"><hr /></div>

			<div class="crumbs gen-content" id="brd-crumbs-top">
                {% include 'lbforum/inc_forum_brd_crumbs.html' %}
			</div>

			<!-- brd-main begin -->
<div id="brd-main">
	<div class="main-pagepost gen-content" id="brd-pagepost-top">
		{% load pagination_tags %}
		{% autopaginate topics 50 %}
		{% paginate %}
        <p class="posting">
            {% if user.is_authenticated %}
                <a class="newpost" href="{% url lbforum_new_topic forum.pk %}"><span>Post new topic</span></a>
            {% else %}
                You must <a href="{% url auth_login %}">{% trans "Login" %}</a> or <a href="{% url registration_register %}">{% trans "register" %}</a> to post a topic
            {% endif %} 
        </p>
	</div>
	<div class="main-head">
		<h1 class="hn"><span><a title="Permanent link to this forum." rel="bookmark" href="http://fluxbb.org/forums/forum/17/test-board/" class="permalink">Test board</a> <small>(Page 1 of 4)</small></span></h1>
	</div>
	<div class="main-pagehead">
		<h2 class="hn"><span><span class="item-info">Topics [ {% page_range_info page_obj %} ]</span></span></h2>
	</div>


	<div class="main-subhead">
		<p class="item-summary forum-views">
			<span>
				<strong class="subject-title">Topics</strong> in this forum with details of 
				<strong class="info-replies">replies</strong>, 
				<strong class="info-views">views</strong>, 
				<strong class="info-lastpost">last post</strong>.
			</span>
		</p>
	</div>

	<div id="topicslist" class="main-content main-forum forum-views">
		{% for topic in topics %}     
			{% include 'lbforum/inc_topic_detail.html' %}  
		{% endfor %}
	</div>

    <div class="main-options gen-content">
        <p class="options"></p>
    </div>

	<div class="main-pagepost gen-content" id="brd-pagepost-end">
        {% paginate %}	
		<p class="posting">
            {% if user.is_authenticated %}
                <a class="newpost" href="{% url lbforum_new_topic forum.pk %}"><span>Post new topic</span></a>
            {% else %}
                You must <a href="{% url auth_login %}">{% trans "Login" %}</a> or <a href="{% url registration_register %}">{% trans "register" %}</a> to post a topic
            {% endif %} 
        </p>
	</div>

</div>
<!-- brd-main ends -->

<div class="crumbs gen-content" id="brd-crumbs-end">
    {% include 'lbforum/inc_forum_brd_crumbs.html' %}
</div>

<div class="hr"><hr /></div>

{% include 'lbforum/inc_copyright.html' %}

  </div>
</div>
{% endblock %}
